﻿@using mscook.mvc;
@{
    ViewBag.Title = "览月齐鲁";
    Layout = "~/Views/Shared/_CenterLayout.cshtml";
}


@model mscook.mvc.Models.CenterBaseModel


<div class="span9 main">
    <div class="row">
        <div class="span4 userinfo highlight">
            <div class="row">
                <div class="span1">
                    <a target="_blank" href="#">
                        <img src="Images/head.jpg" alt="我的头像" class="avatar" />
                    </a>
                </div>
                <div class="span3">
                    <ul class="userinfo-list">
                        @{
                            var css=Model.LoginUser.IsVip?"icon-vip":"";
                        <li class="hello"><i class="@css"></i><span class="user_name">&nbsp;&nbsp;@Html.Encode(Model.LoginUser.LoginName+"您好")</span></li>
                        }
                        <li>
                            <i class="icon-map-marker"></i>
                            <a class="location" target="_blank" title="查看地图" href="#">济南</a>
                        </li>
                        <li>
                            <a class="weather" target="_blank" title="济南天气预报_一周天气预报_中国天气网" href="http://www.weather.com.cn/html/weather/101120101.shtml">12~3℃
        晴</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="span8 business_card highlight">
            <div class="card_header">
                <span class="card_title">
                    <i class=" icon-barcode"></i>
                    <a target="_blank" href="#">个人名片 <i class="chevron-right">›</i></a>
                </span>
            </div>
            <div class="card_info">
                <ul>
                    <li>姓名：@Model.LoginUser.Name</li>
                    <li>个人主页：<a href="@Model.LoginUser.SelfPage">@Model.LoginUser.SelfPage</a></li>
                    <li>联系电话：@Model.LoginUser.Tel</li>
                    <li>邮箱：@Model.LoginUser.Email</li>
                    @if (Model.LoginUser.IsVip)
                    {
                        <li>Vip到期时间：@Model.LoginUser.VipInvalidDate</li>
                    }
                </ul>
            </div>
        </div>

    </div>
</div>
